package com.order.controller;

import com.order.feign.UserClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @version 1.0
 * @author: yu.tan
 * @date: 2020/11/22 20:55
 * @Description:
 */
@RestController
public class SleuthController {

    @Autowired
    private UserClient userClient;

    @GetMapping("sleuth_a")
    public String testA(){
        return userClient.test().toString();
    }
}
